package com.dx.financehy.modules.file.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: wangzj
 * @Description:
 * @Date: 2021/01/15
 */
@Data
@ApiModel(description = "上传文件返回实体")
public class FileRetVO {
    /**
     * 文件id
     */
    @ApiModelProperty(value = "文件id")
    private String id;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("原文件名")
    private String orgName;

    @ApiModelProperty("文件大小（单位：k）")
    private Long size;

    @ApiModelProperty("文件路径")
    private String path;

    @ApiModelProperty("文件扩展名")
    private String extName;

    @ApiModelProperty("mime类型")
    @JsonIgnore
    private String mimeType;

    @ApiModelProperty("可访问url")
    private String url;

}
